<template>
  <div>
    <!-- 新增碳核算表单 -->
    <div class="newCarbonAccount-content">
      <normal-form-plus
        :formModel="formModel"
        :config="config"
        :plus="plus"/>
    </div>

    <!-- 新增碳核算-表格 -->
    <select-emission-source-dictionary/>
  </div>
</template>

<script>
import NormalFormPlus from '@/components/NormalFormPlus'
import selectEmissionSourceDictionary
  from '@/views/enterpriseCarbonAccounting/carbonEmissionManage/selectEmissionSourceDictionary'

export default {
  components: {
    selectEmissionSourceDictionary,
    NormalFormPlus
  },
  data() {
    return {
      formModel: {},
      config: [
        {
          id: 1,
          items: [
            {
              id: '1',
              edit: true,
              type: 'input',
              span: 6,
              model: 'modelLevel',
              name: '核算名称',
              props: {
                placeholder: "核算名称",
                width: 200
              }
            },
            {
              id: '2',
              edit: true,
              type: 'select',
              span: 12,
              model: 'modelLevel',
              name: '',
              props: {
                placeholder: "核算周期",
                options: [
                  {value: '按年', label: '按年'},
                  {value: '按季度', label: '按季度'},
                  {value: '按月', label: '按月'},
                ]
              }
            }
          ]
        },
      ],
      plus: {}
    }
  }
}
</script>

<style lang="less" scoped>
.newCarbonAccount-content {

}
</style>
